package com.shop.loan.proxy;

import com.shop.loan.model.view.LoanOrderByUnBank;
import com.shop.loan.util.LoanOrderUtil;
import org.springframework.stereotype.Service;
import xyz.erupt.annotation.fun.DataProxy;

import javax.annotation.Resource;
import java.util.Collection;
import java.util.Map;

@Service
public class LoanOrderPoolByUnBankProxy implements DataProxy<LoanOrderByUnBank> {

    @Resource
    LoanOrderUtil loanOrderUtil;

    @Override
    public void afterFetch(Collection<Map<String, Object>> list) {
        loanOrderUtil.setOrderListData(list);
    }
}
